package com.ctshk.rpc.goods.dto.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * TODO
 *
 * @author huangxiansheng
 * @date 2021/5/19 4:55 下午
 */
@Data
@ApiModel(value = "CommodityQueryResp对象", description = "商品搜索结果返回")
public class CommodityQueryResp implements Serializable {

    @ApiModelProperty(value = "分类编码")
    private String classificationNumber;

    @ApiModelProperty(value = "分类名称")
    private String classificationName;

    @ApiModelProperty(value = "分类等级")
    private Integer classificationLevel;

    @ApiModelProperty(value = "标签类型:1：新品；2：限时特惠")
    private Integer labelType;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "商品分类id")
    private Long commodityClassificationId;

    @ApiModelProperty(value = "商品分类名称")
    private String commodityClassificationName;

    @ApiModelProperty(value = "商品名称")
    private String commodityName;

    @ApiModelProperty(value = "划线价")
    private BigDecimal markingPrice;

    @ApiModelProperty(value = "售价")
    private BigDecimal price;

    @ApiModelProperty(value = "图片url")
    private String pictureUrl;
}
